package com.ylsdxy.school_sys_set.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cache.annotation.Cacheable;
import org.ylsdxy.model.entity.Campus;


public interface CampusService extends IService<Campus> {
    @Override
    @Cacheable(value = "campus")
    default <E extends IPage<Campus>> E page(E page, Wrapper<Campus> queryWrapper) {
        return this.getBaseMapper().selectPage(page, queryWrapper);
    }

}
